From 104a288c4203b33862ed4754834e327963cd2e99 Mon Sep 17 00:00:00 2001
From: wwd <ericrock@foxmail.com>
Date: Wed, 31 Aug 2016 17:40:11 +0800
Subject: [PATCH] watchdog: not print err info when timeout is invalid

---
 drivers/watchdog/sunxi_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/watchdog/sunxi_wdt.c b/drivers/watchdog/sunxi_wdt.c
index ecbf600..e5ffcc1 100755
--- a/drivers/watchdog/sunxi_wdt.c
+++ b/drivers/watchdog/sunxi_wdt.c
@@ -417,7 +417,7 @@ static long sunxi_wdt_ioctl(struct file *file, unsigned int cmd,
 		if(get_user(new_timeout, argp))
 			return -EFAULT;
 		if(!new_timeout || new_timeout > MAX_TIMEOUT) {
-			pr_err("%s err, line %d\n", __func__, __LINE__);
+			// pr_err("%s err, line %d\n", __func__, __LINE__);
 			return -EINVAL;
 		}
 		watchdog_set_timeout(new_timeout);
